package com.qwer.mapper.comm;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.qwer.model.comm.UserInfo;

public interface UserInfoRepository  extends JpaSpecificationExecutor<UserInfo>,JpaRepository<UserInfo, Integer> {
    List<UserInfo> findByUserNameAndPwd(String username,String pwd);
    
    List<UserInfo> findByType(String type);
    
    List<UserInfo> findByGroupId(Integer groupId);
   
}
